//
//  MyRequest.m
//  Friday
//
//  Created by josy on 12/13/09.
//  Copyright 2009 Apple. All rights reserved.
//

#import "MyRequest.h"


@implementation MyRequest
-(void)setBody:(NSDictionary*) x {
	[x retain];
	[body release];
	body = x;
}
-(void)setMyWinTitle:(NSString*) x {
	[x retain];
	[myWinTitle release];
	myWinTitle = x;
}
-(void)setServer:(NSString*) x {
	[x retain];
	[server release];
	server = x;
}
-(void)setAsyncKey:(int) x {
	asyncKey = x;
}
-(int)getAsyncKey {
	return asyncKey;
}
-(NSString*)getServer {
	return server;
}
-(NSString*)getMyWinTitle {
	return myWinTitle;
}	
-(NSDictionary*)getBody {
	return body;
}
-(NSString*) description {
	return [NSString stringWithFormat:@"Request ----------- \n[%@, %@, %d, %@, \n%@]\n------------ ", myWinTitle, server, asyncKey, kCode, body];	
}
-(void)setKCode:(NSString*) x {
	[x retain];
	[kCode release];
	kCode = x;
}
-(NSString*)getKCode {
	return kCode;
}

@end
